import axios from '@/utils/request';

export function getUserCouponListAll(params) {
    return axios.post({
        url: '/user-coupon/listAll',
        data: params
    }).then((res) => {
        return res
    })
}
export function getUserCouponList(params) {
    return axios.post({
        url: '/user-coupon/list',
        data: params
    }).then((res) => {
        return res
    })
}

export function editUserCoupon(params) {
    return axios.post({
        url: '/user-coupon/edit',
        data: params
    }).then((res) => {
        return res
    })
}

export function deleteUserCoupon(params) {
    return axios.post({
        url: '/user-coupon/delete',
        data: params
    }).then((res) => {
        return res
    })
}

export function loadUserCoupon(params) {
    return axios.post({
        url: '/user-coupon/load',
        data: params
    }).then((res) => {
        return res
    })
}

